export class RegisterUser {
  //用户名
  userName: string;
  //昵称
  nickName?: string;
  //密码
  password: string;
  //邮箱
  email?: string;
  //手机号
  phonenumber?: string;
  //用户性别（0男，1女，2未知）
  sex?: string;
  //头像
  avatar?: string;
  //用户类型：0代表普通用户，1代表管理员
  type: string;
  constructor() {
    this.userName = "";
    this.nickName = "";
    this.password = "";
    this.email = "";
    this.phonenumber = "";
    this.sex = "2";
    this.avatar = "";
    this.type = "0";
  }
}
